package com.bruce.storage.service;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface StorageService {

    void uploadFile(String bucketName, String contentId, String fileName, String referenceIds, MultipartFile file);
    void uploadFile(String bucketName, String contentId, String fileName,String referenceIds, InputStream inputStream);
    InputStream downloadFile(String bucketName, String contentId);
    void deleteFile(String bucketName, String fileName);

    void deleteFiles(String bucketName, List<String> fileNames);
    Map<String, ?> getMetadata(String bucketName, String contentId);
}
